package cn.com.blackboard.DataModule4B2.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.blackboard.DataModule4B2.model.CourseInfo;

public interface CourseInfoMapper {
    int deleteByPrimaryKey(Object courseId);

    int insert(CourseInfo record);

    int insertSelective(CourseInfo record);

    CourseInfo selectByPrimaryKey(Object courseId);

    int updateByPrimaryKeySelective(CourseInfo record);

    int updateByPrimaryKey(CourseInfo record);
    
    List<CourseInfo> selectByCondition(@Param("condition")String condition);
    
    int updateRecordImportedByCourseId(@Param("CourseId")String CourseId);
    
    List<CourseInfo> selectByHierarchicalCondition(@Param("fixed_column_list")String fixed_column_list,@Param("mainTableName")String mainTableName,
    		@Param("subTableName")String subTableName,@Param("onCondition")String onCondition,@Param("condition")String condition);
}